import 'vant/lib/index.css';
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Api from './service/service'
import echarts from 'echarts'
import moment from 'moment'
import Vant from 'vant';
import './assets/iconfont/iconfont.css';
Vue.use(moment);
Vue.use(Api);
Vue.use(Vant);
Vue.prototype.$toast.setDefaultOptions({ duration: 2000 });
Vue.prototype.$toast.allowMultiple();
Vue.prototype.$echarts = echarts;
Vue.prototype.$moment = moment
Vue.config.productionTip = false;

new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')